﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PhongMachTu.OForm
{
    static class FormManager
    {
        public static MainForm mainForm;
        public static FormLogin loginForm;
        public static FormSetting settingForm;
        public static FormDisease diseaseForm;
        public static FormMedicine medicineForm;
        public static FormPrescription prescriptionForm;
        public static FormSearchPatient searchForm;
        public static FormSearchPaInfo searchPaInfoForm;

        public static FormPatientInDay paInDayForm;
        public static FormPatient patientForm;
        public static FormMedBill medBillForm;
        public static FormMedUseReport medUseReportForm;
        public static FormMonthlyReport monthlyReportForm;
        public static FormCreatePatient createPaForm;

        public static FormUsers formUser;
        public static FormChangePassword changePwdForm;
        public static void initForms()
        {
            mainForm = new MainForm();
            loginForm = new FormLogin();
            settingForm = new FormSetting();
            diseaseForm = new FormDisease();
            medicineForm = new FormMedicine();
            paInDayForm = new FormPatientInDay();
            prescriptionForm = new FormPrescription();
            searchForm = new FormSearchPatient();
            searchPaInfoForm = new FormSearchPaInfo();
            patientForm = new FormPatient();
            medBillForm = new FormMedBill();
            medUseReportForm = new FormMedUseReport();
            monthlyReportForm = new FormMonthlyReport();
            createPaForm = new FormCreatePatient();
            formUser = new FormUsers();
            changePwdForm = new FormChangePassword();

        }
    }
}